package com.jt.service;

import com.jt.dao.UserDao;
import com.jt.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @outhor fufeixiang
 * @date 2021-04-23
 */
@Service("userServiceImpl2")
public class UserServiceImpl2 implements UserService {

    @Autowired
    private UserDao userDao;
    @Override
    public void userAdd(User user) {
        System.out.println("实现类2的调用");
        userDao.addUser(user);
    }
}
